package com.zjmzxfzhl.modules.flowable.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.zjmzxfzhl.common.core.base.BaseServiceImpl;
import com.zjmzxfzhl.modules.flowable.entity.FlowableFormOnline;
import com.zjmzxfzhl.modules.flowable.mapper.FlowableFormMapper;
import com.zjmzxfzhl.modules.flowable.mapper.FlowableFormOnlineMapper;
import com.zjmzxfzhl.modules.flowable.service.FlowableFormOnlineService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class FlowableFormOnlineServiceImpl extends BaseServiceImpl<FlowableFormOnlineMapper, FlowableFormOnline> implements FlowableFormOnlineService {
    @Override
    public IPage<FlowableFormOnline> list(IPage<FlowableFormOnline> page, FlowableFormOnline flowableFormOnline) {
        return page.setRecords(this.baseMapper.list(page, flowableFormOnline));
    }

    @Override
    public List<Map<String, Object>> getTableSchemalInfoByTableName(String tableName) {
        return this.baseMapper.getTableSchemalInfoByTableName(tableName);
    }
}
